package com.boang.controller.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "pro")
public interface ProService {
    @RequestMapping("/test")
    public String test();

    @RequestMapping("/test/{name}")
    public String test(@PathVariable("name") String name);
}
